<layout name="layout" />
<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data">
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">属性名称：</td>
                <td>
                    <input  type="text" name="attr_name" value="" />
                </td>
            </tr>
            <tr>
                <td class="label">属性类型：</td>
                <td>
                	<input type="radio" name="attr_type" value="唯一" checked="checked" />唯一 
                	<input type="radio" name="attr_type" value="可选"  />可选 
                </td>
            </tr>
            <tr>
                <td class="label">属性可选值：</td>
                <td>
                	<textarea rows="6" cols="60" name="attr_option_values"></textarea>
                </td>
            </tr>
            <tr>
                <td class="label">所属类型：</td>
                <td>
                	<?php buildSelect('Type', 'type_id', 'id', 'type_name', I('get.type_id')); ?>
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>


<script>
</script>